<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns the number of columns</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ovrimos-longreadlen.html">ovrimos_longreadlen</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ovrimos-num-rows.html">ovrimos_num_rows</a></div>
 <div class="up"><a href="ref.ovrimos.html">Ovrimos SQL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ovrimos-num-fields" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ovrimos_num_fields</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.3, PHP 5 &lt;= 5.0.5)</p><p class="refpurpose"><span class="refname">ovrimos_num_fields</span> &mdash; <span class="dc-title">Returns the number of columns</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.ovrimos-num-fields-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>ovrimos_num_fields</strong></span>
    ( <span class="methodparam"><span class="type">int</span> <code class="parameter">$result_id</code></span>
   )</div>

  <p class="para rdfs-comment">
   Returns the number of columns in the specified result identifier.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ovrimos-num-fields-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">result_id</code></em></dt>

     <dd>

      <p class="para">
       A result identifier, returned by <span class="function"><a href="function.ovrimos-execute.html" class="function">ovrimos_execute()</a></span>
       or <span class="function"><a href="function.ovrimos-exec.html" class="function">ovrimos_exec()</a></span>.
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ovrimos-num-fields-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns the number of columns as an integer, or <strong><code>FALSE</code></strong> on error.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ovrimos-num-fields-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.ovrimos-num-rows.html" class="function" rel="rdfs-seeAlso">ovrimos_num_rows()</a> - Returns the number of rows affected by update operations</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ovrimos-longreadlen.html">ovrimos_longreadlen</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ovrimos-num-rows.html">ovrimos_num_rows</a></div>
 <div class="up"><a href="ref.ovrimos.html">Ovrimos SQL 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
